import React, { Component } from 'react';
import RouterView from './routes';
import {BrowserRouter as Router,NavLink} from 'react-router-dom'
class App extends Component {
  
  render() {
    return (
      <Router>
        <NavLink to="/">home</NavLink>
        <NavLink to="/about">about</NavLink>
        <RouterView></RouterView>
      </Router>
    );
  }
}
export default App;


